	function IGLocalSet(a)
	{

	}

  function IGLocalSetTitle(title, title_url)
  {
      var tit = _gel("m_0_title");
      if (tit) tit.innerHTML = title;

	  if (title_url)
	  {
		  var link = _gel("m_0_url");
		  if (link) link.href = title_url;
	  }
  }

	function _IG_RegisterOnloadHandler(onloadFunction)
	{
		if (onloadFunction) window.onload = onloadFunction;
	}

	function _IG_Analytics(id, path)
	{
		//TODO alphanumeric checking here
	}

	function _gel(id)
	{
		return document.getElementById(id);
	}

	function _IG_Prefs(id)
	{
		_IG_Prefs.prototype.set = function(name, value) 
		{
			eval("__UP_" + name + "__ = '" + value + "'");		
		};

		_IG_Prefs.prototype.getBool = function(name) 
		{
			return eval("__UP_" + name + "__");
		};

		_IG_Prefs.prototype.getInt = function(name) 
		{
			return parseInt(eval("__UP_" + name + "__"));
		};

		_IG_Prefs.prototype.getString = function(name) 
		{
			return eval("__UP_" + name + "__");	
		};

		_IG_Prefs.prototype.getArray = function(name) 
		{
			return eval("__UP_" + name + "__");	
		};
	}

function ifpc_resizeIframe(iframe_id, height)
{
	var el = document.getElementById(iframe_id);
	if (el)
	{
		el.style.height = height + "px";
	}
}

function _IG_AdjustIFrameHeight()
{

}